package cn.csc.module.product.controller.admin.tagref.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigInteger;
import java.time.LocalDateTime;

import static cn.csc.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@ApiModel(value = "管理后台 - 商品标签关联信息 Excel 导出 Request VO", description = "参数和 SpuTagReferencePageReqVO 是一致的")
@Data
public class SpuTagReferenceExportReqVO {

    @ApiModelProperty(value = "店铺id")
    private BigInteger shopId;

    @ApiModelProperty(value = "标签id")
    private BigInteger tagId;

    @ApiModelProperty(value = "商品id")
    private BigInteger spuId;

    @ApiModelProperty(value = "状态(1:正常,-1:删除)")
    private Boolean status;

    @ApiModelProperty(value = "排序")
    private Integer seq;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
